package com.bw.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class EmployeeAdd {


        @NotBlank(message = "姓名不为空")
        private String name;
        @NotBlank(message = "工号不为空")
        private String num;
        @NotNull(message = "部门不为空")
        private Integer deptId;

        @NotNull(message = "小组不为空")
        private Integer groupId;

        @NotNull(message = "考勤不为空")
        private Integer kaoqin;

        @NotBlank(message = "入职日期不为空")
        private String createTime;





}
